{include file="public/header" /}
<link rel="stylesheet" type="text/css" href="/static/admin/webupload/webuploader.css">
<link rel="stylesheet" type="text/css" href="/static/admin/webupload/style.css">
<style>
    .file-item{float: left; position: relative; width: 110px;height: 110px; margin: 0 20px 20px 0; padding: 4px;}
    .file-item .info{overflow: hidden;}
    .uploader-list{width: 100%; overflow: hidden;}
    .from{font-family:'微软雅黑';font-size: 16px;}
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>查看文章</h5>
                </div>
                <div class="ibox-content">
                    <div class="from" style=" width: 100%;">
                        <h3> 作者原文：</h3>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group" style="float: left; width: 33%;">
                        <label class="col-sm-3 control-label">标题：</label>
                        <div class="input-group col-sm-8">
                            {$article.title}
                        </div>
                    </div>
                    <div class="form-group"  style="float: left; width: 33%;">
                        <label class="col-sm-3 control-label">描述：</label>
                        <div class="input-group col-sm-8">
                            {$article.remark}
                        </div>
                    </div>
                    <div class="form-group"  style="float: left; width: 33%;">
                        <label class="col-sm-3 control-label">封面：</label>
                        <div class="input-group col-sm-8">
                            <input type="hidden" id="data_photo" name="photo" value="{$article.photo}">
                            <div id="fileList" class="uploader-list" style="float:right"></div>
                            <!--<div id="imgPicker" style="float:left">选择图片</div>-->
                            <img id="img_data" height="100px" style="float:left;margin-left: 50px;margin-top: -10px;" onerror="this.src='/static/admin/images/no_img.jpg'" src="/uploads/images/{$article.photo}"/>
                        </div>
                    </div>







                    <div class="form-group" style="width: 100%;">
                        <label class="col-sm-1 control-label " for="myEditor">内容：</label>
                        <div class="input-group col-sm-11">
                            {$article.content}
                        </div>
                    </div>

                    <div class="form-group" style="width: 100%;">
                        <label class="col-sm-1 control-label " for="myEditor">时间：</label>
                        <div class="input-group col-sm-11">
                            {$article['create_time']}
                        </div>
                    </div>

                    {if(!empty($article['baoming']))}
                    <div class="hr-line-dashed"></div>
                    <div class="form-group" >
                        <label class="col-sm-3 control-label">所属报名活动：</label>
                        <div class="input-group col-sm-4" style="text-align: left;">{$article.baoming}</div>
                    </div>
                    {/if}

                    {if(!empty($article['vote']))}
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">所属投票活动：</label>
                        <div class="input-group col-sm-4"  style="text-align: left;">{$article.vote}</div>
                    </div>
                    {/if}

                </div>



                {volist name="list" id="vo"}


                <div class="ibox-content">
                    <div class="from" style=" width: 100%;">
                        <h3>修改来自：{$vo.username} </h3>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group" style="float: left; width: 33%;">
                        <label class="col-sm-3 control-label">标题：</label>
                        <div class="input-group col-sm-8">
                            {$vo.title}
                        </div>
                    </div>
                    <div class="form-group"  style="float: left; width: 33%;">
                        <label class="col-sm-3 control-label">描述：</label>
                        <div class="input-group col-sm-8">
                            {$vo.remark}
                        </div>
                    </div>
                    <div class="form-group"  style="float: left; width: 33%;">
                        <label class="col-sm-3 control-label">封面：</label>
                        <div class="input-group col-sm-8">
                            <input type="hidden" id="data_photo" name="photo" value="{$article.photo}">
                            <div id="fileList" class="uploader-list" style="float:right"></div>
                            <!--<div id="imgPicker" style="float:left">选择图片</div>-->
                            <img id="img_data" height="100px" style="float:left;margin-left: 50px;margin-top: -10px;" onerror="this.src='/static/admin/images/no_img.jpg'" src="/uploads/images/{$vo.photo}"/>
                        </div>
                    </div>
                    <div class="form-group" style="width: 100%;">
                        <label class="col-sm-1 control-label " for="myEditor">内容：</label>
                        <div class="input-group col-sm-11">
                            {$vo.content}
                        </div>
                    </div>

                    <div class="form-group" style="width: 100%;">
                        <label class="col-sm-1 control-label " for="myEditor">时间：</label>
                        <div class="input-group col-sm-11">
                            {$vo['update_time1']}
                        </div>
                    </div>
                </div>




                {/volist}




            </div>

        </div>
    </div>
</div>
{include file="public/footer" /}


</body>
</html>
